<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<!--        <link rel="stylesheet" type="text/css" th:href="@{layui/css/layui.css}">-->
    <link rel="stylesheet" type="text/css" href="../../static/layui/css/layui.css">
</head>
<body>
<table id="demo" lay-filter="demo"></table>
<img src="/PATH/1.png">

</body>
<!--<script type="text/javascript" th:src="@{layui/layui.all.js}"></script>-->
<script type="text/javascript" src="../../static/layui/layui.all.js"></script>
<script type="text/javascript" >
    layui.use('table', function(){
        var table = layui.table;

        //第一个实例
        table.render({
            elem: '#demo'
            ,height: 312
            ,url: '/user/userMessageTable'
            ,page: false
            ,cols: [
                [
                    {field: 'id', title: '编号', width:80},
                    {field: 'name', title: '姓名', width:80},
                ]
            ]
        });

    });
</script>
</html>